package net.dgg.rz.production.entity;

import net.dgg.rz.common.base.entity.BaseEntity;

import java.math.BigDecimal;

/**
* <p>@Title 销售订单json信息表</p>
* <p>@Description 类功能描述</p>
* <p>@Version 1.0.0 版本号</p>
* <p>@author zyou</p>
* <p>@date 2018-12-14 14:45:04 创建日期</p>
* <p>Copyright © dgg group.All Rights Reserved. 版权信息</p>
*/
public class OrderJson extends BaseEntity {

    //销售主单id
    private Long orderId;
    //提交审核后调的url
    private String returnUrl;
    //成功通知url
    private String notifyUrl;
    //销售主订单编号
    private String orderNo;
    //合同编号
    private String contractNo;
    //销售主订单json
    private String orderJson;
    //客户信息json
    private String customerJson;
    //借贷人json
    private String contactJson;
    //销售子订单json
    private String orderBusinessJson;
    //成本费json
    private String subjectJson;
    //状态(1已生成生产订单,0未生成生产订单但底单提交成功,2 默认)
    private Integer flag;
    //贷款金额
    private BigDecimal loansAmount;
    //贷款年限
    private Double loansNum;
    //贷款利息
    private Double loansInterest;
    //利息方式
    private String loansRateType;
    //定金
    private BigDecimal earnestMoney;
    // 抵押物地址
    private String mortgageAddress;

    private String orderSource;

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getReturnUrl() {
        return returnUrl;
    }

    public void setReturnUrl(String returnUrl) {
        this.returnUrl = returnUrl;
    }

    public String getNotifyUrl() {
        return notifyUrl;
    }

    public void setNotifyUrl(String notifyUrl) {
        this.notifyUrl = notifyUrl;
    }

    public String getCustomerJson() {
        return customerJson;
    }

    public void setCustomerJson(String customerJson) {
        this.customerJson = customerJson;
    }

    public String getContactJson() {
        return contactJson;
    }

    public void setContactJson(String contactJson) {
        this.contactJson = contactJson;
    }

    public void setOrderJson(String orderJson){
        this.orderJson = orderJson;
    }
    public String getOrderJson(){
        return this.orderJson;
    }

    public String getContractNo() {
        return contractNo;
    }

    public void setContractNo(String contractNo) {
        this.contractNo = contractNo;
    }

    public void setOrderBusinessJson(String orderBusinessJson){
        this.orderBusinessJson = orderBusinessJson;
    }
    public String getOrderBusinessJson(){
        return this.orderBusinessJson;
    }

    public void setFlag(Integer flag){
        this.flag = flag;
    }
    public Integer getFlag(){
        return this.flag;
    }

    public BigDecimal getLoansAmount() {
        return loansAmount;
    }

    public void setLoansAmount(BigDecimal loansAmount) {
        this.loansAmount = loansAmount;
    }

    public Double getLoansNum() {
        return loansNum;
    }

    public void setLoansNum(Double loansNum) {
        this.loansNum = loansNum;
    }

    public Double getLoansInterest() {
        return loansInterest;
    }

    public void setLoansInterest(Double loansInterest) {
        this.loansInterest = loansInterest;
    }

    public BigDecimal getEarnestMoney() {
        return earnestMoney;
    }

    public void setEarnestMoney(BigDecimal earnestMoney) {
        this.earnestMoney = earnestMoney;
    }

    public String getMortgageAddress() {
        return mortgageAddress;
    }

    public void setMortgageAddress(String mortgageAddress) {
        this.mortgageAddress = mortgageAddress;
    }

    public String getLoansRateType() {
        return loansRateType;
    }

    public void setLoansRateType(String loansRateType) {
        this.loansRateType = loansRateType;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getSubjectJson() {
        return subjectJson;
    }

    public void setSubjectJson(String subjectJson) {
        this.subjectJson = subjectJson;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }
}
